package com.hzlx.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hzlx.bean.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface OrderDao extends BaseMapper<Order> {
    String sql = "select * from smd_order where owner_id=#{ownerId}";
    @Select(sql)
    IPage<Order> selectPageVo(IPage<?> page, @Param("ownerId") Integer ownerId);
}
